package cn.gotom.svg.xml;

import java.net.URL;

import org.w3c.dom.Element;

/**
 * @author 裴绍国
 * @author <a href="mailto:peixere@gmail.com">裴绍国</a>
 */
public interface ReadableXMLElement {

    /**
     * Initializes this element from the passed DOM tree.
     * @param root - DOM tree to build from
     * @param docRoot - URL of the document this DOM tree was created from
     */
    public void read(Element root, URL docRoot);

}
